/* 3.静态成员
使用static关键字定义的成员即静态成员
*/
class Chess {
    constructor(name) {
        this.name = name;
    }

    static width = 50   

    static height = 100

    static method(){

    }
}

console.log(Chess.width)
console.log(Chess.height)

Chess.method();



